package com.unnous.user.dao;

import com.unnous.user.entity.RoleEntity;
import com.unnous.user.entity.UserRoleEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleEntityMapper {
    int deleteByPrimaryKey(UserRoleEntity key);

    int insert(UserRoleEntity record);

    int insertSelective(UserRoleEntity record);

    List<RoleEntity> selectUserRoleList(int userId);
}